﻿@model YogaStudio.Data.Domain.Schedule

@{
    ViewBag.Title = "Delete";
}

<div class="main">
    <div class="content">
        <div class="section group">
            <div class="col span_2_of_3">
                <div class="contact-form">

                    <h3>Are you sure you want to delete this?</h3>
                    <div>
                        <dl class="dl-horizontal">
                            <dt>
                                @Html.DisplayNameFor(model => model.Semester.SemesterName)
                            </dt>

                            <dd>
                                @Html.DisplayFor(model => model.Semester.SemesterName)
                            </dd>

                            <dt>
                                @Html.DisplayNameFor(model => model.Year)
                            </dt>

                            <dd>
                                @Html.DisplayFor(model => model.Year)
                            </dd>

                            <dt>
                                @Html.DisplayNameFor(model => model.FromDate)
                            </dt>

                            <dd>
                                @Html.DisplayFor(model => model.FromDate)
                            </dd>

                            <dt>
                                @Html.DisplayNameFor(model => model.ToDate)
                            </dt>

                            <dd>
                                @Html.DisplayFor(model => model.ToDate)
                            </dd>

                        </dl>

                        @using (Html.BeginForm())
                        {
                            @Html.AntiForgeryToken()

                            <div class="form-actions no-color">
                                <input type="submit" value="Delete" class="btn btn-default" />
                                @Html.ActionLink("Back to List", "Index", null, new { @class = "btn" })
                            </div>
                        }
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>